﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace dbPoll_Application.Models
{
    public class OptionsTemplate
    {
        public virtual int templateID { get; set; }
        public virtual String name { get; set; }
        public virtual IList<Option> options { get; set; }

        public OptionsTemplate()
        {
            this.templateID = -1;
            this.name = String.Empty;
            this.options = null;
        }

        public OptionsTemplate(String name)
        {
            this.templateID = -1;
            this.name = name;
            this.options = new List<Option>();
        }

        public OptionsTemplate(String name, IList<Option> options)
        {
            this.templateID = -1;
            this.name = name;
            this.options = options;
        }

        public OptionsTemplate(int templateID, String name, IList<Option> options)
        {
            this.templateID = templateID;
            this.name = name;
            this.options = options;
        }

    }
}
